package com.xsh.gls.service;

import com.xsh.gls.pojo.Depot;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DepotService {
    List<Depot> selectByDepotName(String depotname)throws Exception;

    boolean add(Depot depot);

    boolean update(Depot depot);

    Depot selectById(Integer id);

    boolean delete(Integer id);

    List<Depot> getByLWdepotarea(String depotarea);
}
